import {load} from "@tauri-apps/plugin-store";import {getVersion} from "@tauri-apps/api/app";import {getCurrentTime} from "../utils/DateUtil.ts";/** * 程序第一次启动处理 */export async function firstRun(): Promise<boolean> {    const version = await getVersion();    const versionStore = await load("run.json");    if (!(await versionStore.get("version"))) {        const store = await load("run.json");        await store.set("version", version);        await store.set("latest_run_time", getCurrentTime()); // 记录最近一次启动时间        await store.save();        return true;    }    await versionStore.set("latest_run_time", getCurrentTime()); // 记录最近一次启动时间    await versionStore.save();    return false;}